﻿@model BTKERP.Model.Warehouse

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Warehouse</legend>

    <div class="display-field">
        <b>Name : </b>@Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-field">
        <b>Description : </b>@Html.DisplayFor(model => model.Descriptoin)
    </div>

    <div class="display-field">
        <b>Address 1 : </b>@Html.DisplayFor(model => model.Address1)
    </div>

    <div class="display-field">
        <b>Address 2 : </b>@Html.DisplayFor(model => model.Address2)
    </div>

    <div class="display-field">
        <b>Address 3 : </b>@Html.DisplayFor(model => model.Address3)
    </div>

    <div class="display-field">
        <b>Postcode : </b>@Html.DisplayFor(model => model.PostCode)
    </div>

    <div class="display-field">
        <b>Tel : </b>@Html.DisplayFor(model => model.Tel)
    </div>

    <div class="display-field">
        <b>Fax : </b>@Html.DisplayFor(model => model.Fax)
    </div>

    <div class="display-field">
        <b>Contact Person : </b>@Html.DisplayFor(model => model.ContactPerson)
    </div>

    <div class="display-field">
        <b>Country : </b>@BTKERP.MVCWeb.AppCode.DataRefHelper.GetCountryById(Model.CoutryId)
    </div>

    <div class="display-field">
        <b>City : </b>@BTKERP.MVCWeb.AppCode.DataRefHelper.GetCityById(Model.CityId)
    </div> 

    <div class="display-field">
        <b>Is Central Warehouse : </b>@Html.DisplayFor(model => model.IsCentral)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" class="btn btn-red"/> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
